package com.wl.dao;

import java.util.List;

import com.wl.pojo.Knowledge;

/**
 * 物流知识表dao接口
 * 
 * @author Administrator
 *
 */
public interface KnowledgeDao {

	// 查找所有
	List<Knowledge> selectKnowledgeAll();

	// 根据id查找
	Knowledge selectKnowledgeById(int klId);

	// 根据标题模糊查找
	List<Knowledge> selectKnowledgeByTitle(String klTitle);

	// 添加
	int insertKnowledge(Knowledge kl);

	// 修改
	int updateKnowledge(Knowledge kl);

	// 根据id删除
	int deleteKnowledge(int klId);
}
